<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeading="CTOPay Payment Gateway Configuration" />
<content tag="buttons">
	<probiz:iconBtn btnType="save" onclick="return fnDoAction(this, 'saveConfigAction');" />
	<probiz:iconBtn btnType="back" url="${ctxPath}/system/paymentMethod.html" />
</content>

<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span>CTOPay Payment Gateway Configuration</span></li>
	</ul>
</div>

<div class="modify">
	<form class="mainForm" name="configForm" method="post" action="paymentMethod.html">
	<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
		<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="com_modi_table">
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.pay.en.shuo"/></h4></th>
			</tr>
			<tr>
				<th colspan="2" >
					<IMG alt="CTOPay" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
					<ul class="intro">
						<li>Please Go<a href="http://www.ctopay.com/" target="_blank" style="color:red;text-decoration: underline">to CTOPay</a> to register a merchant account</li>
						<li>set MD5key in merchant console</li>
					</ul>
				</th>
			</tr>
			<tr>
				<th colspan="2" class="title"><h4><fmt:message key="system.paymentGateway.en.configItem"/></h4></th>
			</tr>
			<tr>
				<th class="label_width_1"><span>Merchant No：</span></th>
				<td>
					<INPUT class="inputtxt" style="width: 350px" name="MerNo" value="${paymentGateway.configData.MerNo}"/>
				</td>
			</tr>
			<tr>
				<th><span>MD5Key：</span></th>
				<td>
					<input class="inputtxt" style="width: 350px" name="MD5key" value="${paymentGateway.configData.MD5key}"/>
				</td>
			</tr>
		</table>
	</form>
</div>